package com.tunan.lsj.validator.thread;

//import com.ky.gzpopulation.jzzPhoto.JzzService;

public class PhotoThread extends  Thread {
	
	boolean run=false;
	
	 byte[] data=null;
	 
	 String hzbh="";
	 
	 String msg="";
	 
	 boolean suc=false;
	
	public PhotoThread(){
	}
	
	
	public void run() {

		try{
			
//			JzzService js=new JzzService();
//			if(js.getImage(hzbh)){
//				data=js.getData();
//				suc=true;
//			}
//				msg=js.getMsg();

		
			
		}
		catch(Exception e){
			System.out.println("获取照片失败！");
		}
		finally{
			run=true;
		}
	}

	public boolean isRun() {
		return run;
	}


	public byte[] getData() {
		return data;
	}


	public void setData(byte[] data) {
		this.data = data;
	}


	public String getHzbh() {
		return hzbh;
	}


	public void setHzbh(String hzbh) {
		this.hzbh = hzbh;
	}


	public String getMsg() {
		return msg;
	}


	public void setMsg(String msg) {
		this.msg = msg;
	}


	public void setRun(boolean run) {
		this.run = run;
	}


	public boolean isSuc() {
		return suc;
	}


	public void setSuc(boolean suc) {
		this.suc = suc;
	}



}
